HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/metastore/locations/list.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: |
      List Dataproc Metastore locations.
    description: |
      List all Metastore locations.
    examples: |
      To list all the locations where you can create Dataproc Metastore
      services, run:

        $ {command}

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.metastore.resources:project
      help_text: |
        The parent project of the locations you want to list.

  request:
    ALPHA:
      api_version: v1alpha
    BETA:
      api_version: v1beta
    GA:
      api_version: v1
    collection: metastore.projects.locations

  response:
    id_field: name

  output:
    format: |
     table(
        name.basename():label=LOCATION_NAME,
        name.segment(1):label=PROJECT
      )